﻿
    <!--btnSearch-->
<Controls:RadButton
    x:Class="FU.Capstones.IMS.Web.Silverlight.Controls.SearchButtonControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:Controls="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls"
    Controls:StyleManager.Theme="Office_Black"
	x:Name="btnSearch"
    Style="{StaticResource TRadButtonNormalStyle}"
    Command="{Binding Path=SearchCommand}">
    <ContentControl HorizontalAlignment="Center" VerticalAlignment="Center">
        <Grid HorizontalAlignment="Center" VerticalAlignment="Center">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="20" />
                <ColumnDefinition Width="70" />
            </Grid.ColumnDefinitions>
            <Image
                        Grid.Column="0"
                        Source="../Images/SearchIcon.png"
                        Style="{StaticResource InnerImageStyle}"/>
            <TextBlock 
                        Grid.Column="1"
                        Text="{StaticResource SearchButtonLabelText}"  
                        Style="{StaticResource InnerTextBlockStyle}" />
        </Grid>
    </ContentControl>
</Controls:RadButton>